package com.demo.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.demo.mapper.T1Mapper;
import com.demo.model.T1;
import com.demo.service.T1Service;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Auther: luobiao
 * @Date: 2020/11/30 22:28
 * @Description:
 */
@Service
public class T1ServiceImpl implements T1Service {
    @Resource
    T1Mapper t1Mapper;

    @Override
    public List<T1> list() {
        QueryWrapper queryWrapper = new QueryWrapper();
        List<T1> list=t1Mapper.selectList(queryWrapper);
        return list;
    }
}
